﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using TMDT_Nhom1A.BUS;

namespace TMDT_Nhom1A.Manager
{
    public partial class TransactionStatistic : System.Web.UI.Page
    {
        public string[] str1 = new string[20];
        private string seriesData;

        public string SeriesData
        {
            get { return seriesData; }
            set { seriesData = value; }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            //Random random = new Random();
            //for (int i = 0; i < 20; i++)
            //{
            //    str1[i] = random.Next(100).ToString();
            //}

            ////gio tao chuoi du lieu seriesData
            //foreach (string item in str1)
            //{
            //    seriesData += item + ",";
            //}

            //seriesData = seriesData.Remove(seriesData.Length - 1);

            string data = Statistic_BUS.calculateTransactionStatistic();
            seriesData = data;
        }
    }
}
